﻿*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body{
	margin: 0;padding: 0;
	background: #F1F1F1;
	margin-bottom: 1rem;
}
#share_bottom{
	display: none;
}
img{width: 100%;display: block;}
.flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.gray{
	-webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
	
    filter: gray;
}
.rule{
	position: absolute;
	top: 5%;
	right: 0;
	width: 1.5rem;
	height: 1.25rem;
	background: url(img/rule.png) no-repeat;
	background-size:100% auto ;
}

#m-ct{
	width: 95%;
	height: 19.2rem;
	background: rgba(255,255,255,0.6);
	border-radius: 5px;
	margin: 0 auto;
    margin-top: -1.2rem;
    padding: 0.6rem;
    position: relative;
    z-index: 1;
	-moz-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	-webkit-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0;
}
.top_tips{
	-webkit-flex: 1;
	flex: 1;
	background: white;
	border-radius: 5px;
	padding: 0.4rem;
	font-size: 0.6rem;
	line-height: 135%;
	margin-left: 0.6rem;
	-moz-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	-webkit-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0;
	position: relative;
}
.top_tips:before{
	content:''; 
	height:0;
	 width:0; 
	 display:block; 
	 position: absolute;
	 left: -0.35rem;
	 top: 50%;
	 -webkit-transform: translateY(-50%);
	 transform: translateY(-50%);
	border:7px transparent solid; 
	border-left-width:0; 
	border-right-color:#fff;
}
.top_tips span{
	color: #df2743;
}
.hd_img{
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 100%;
	border:2.5px solid white ;
}


/*主体*/
#main_area{
	position: relative;
	width: 14rem;
	height: 14rem;
	margin: 1rem auto;
}
.box_progress{
	/*width: 12.75rem;
	height: 12.75rem;*/
}
.cricle_progress{
	width: 12.75rem;
	height: 12.75rem;
	/*border-radius: 50%;*/
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.cricle_progress_bar{
	background: url(img/bar.png) no-repeat;
	background-size: 100% 100%;
}
.cricle_progress_bar_left_c,.cricle_progress_bar_right_c{
	background: url(img/bar_bg.png) no-repeat;
	background-size: 100% 100%;
}
.cricle_progress_bar_left,.cricle_progress_bar_left_c{
	clip: rect(0,6.375rem,12.75rem,0);
}
.cricle_progress_bar_right,.cricle_progress_bar_right_c{
	clip: rect(0,12.75rem,12.75rem,6.375rem);
}
.cricle_progress_bar,.cricle_progress_bar_right_c,.cricle_progress_bar_left_c{
	width: 12.75rem;
	height: 12.75rem;
	/*border-radius: 50%;*/
	position:absolute;
	left: 0;
	right: 0;
	/*transition: all linear 1s;*/ 
}

/*打卡指纹区域*/
#game_area{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	z-index: 2;
}
.game{
	position: relative;
	width:6.05rem;
	height: 6.05rem;
	margin: 0 auto;
}
.game div{
 	height: 100%;
 	width: 100%;
 }
 .game1{
    background: url(img/game_1.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
    z-index: 1;
 }
 .game2{
 	background: url(img/game_3.png);
 	background-size: 100% 100%;
 	position: absolute;top: 0;left: 0;
 	overflow: hidden;
 }
 .game3{
 	background: url(img/game_2.png);
 	background-size: 100% 100%;
 	position: absolute;top: 0;left: 0;
 }
 .game4{
    width: 74%;
    position: absolute;
    left: 13%;
    top: 50%;
    height:0.35rem ;
    background: url(img/game_4.png);
 	background-size: 100% 100%;
 }
 .line_move{
 	-webkit-animation: line_up_d 2s linear infinite;
    animation:  line_up_d 2s linear infinite;
 }
 @-webkit-keyframes line_up_d{
 	0%{
 		-webkit-transform: translateY(0);transform: translateY(0);
 	}
 	25%{
 		-webkit-transform: translateY(-2.5rem);transform: translateY(-2.5rem);
 	}
 	50%{
 		-webkit-transform: translateY(0);transform: translateY(0);
 	}
 	75%{
 		-webkit-transform: translateY(2.5rem);transform: translateY(2.5rem);
 	}
 	100%{
 		-webkit-transform: translateY(0);transform: translateY(0);
 	}
 }
 
 .btn_success{
    background: url(img/btn_success.png) no-repeat;
    background-size: 100% auto;
    width: 4.25rem;
    height: 4.25rem;
    line-height: 130%;
    position: absolute;
    top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
    z-index: 3;
    font-size: 0.75rem;
    color: white;
    text-align: center;
    font-weight: bold;
	text-shadow:0.1rem 0.1rem 0.25rem #1FAEDF;
 }
 .text_tip{
	position: absolute;
    width: 100%;
    left: 0;
    bottom: 20%;
    font-size: 0.5rem;
    color: #8A8A8A;
    text-align: center;
 }
  .text_tip:before{
  	content: '';
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    top: -50%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border: 5px transparent solid;
    border-top-width: 0;
    border-bottom-color: #8A8A8A;
  }
 /*打卡指纹区域   -----*/
/*灯*/
.deng_area{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12.5rem;
    height: 12.5rem;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 3;
}
.deng_item{
	width: 3rem;
	height: 3rem;
	background: url(img/deng_bg.gif) no-repeat;
	background-size:100%  auto;
	position: absolute;
    left: 38%;
    bottom: 38%;
    z-index: 3;
}
.deng_item img{
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}


.bottom_tips{
	width: 14.1rem;
	margin: 0.5rem auto;
	text-align: left;
	font-size: 0.65rem;
	padding: 0.6rem;
	padding-left: 2rem;
	line-height: 130%;
	position: relative;
	background: white;
	border-radius: 10px;
	-moz-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	-webkit-box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0; 
	box-shadow:0.05rem 0.1rem 0.15rem #F0F0F0;
}
.bottom_tips:before{
	content: '';
	width:1.1rem ;
	height:1.05rem ;
	position: absolute;
	left: 0.65rem;
	top: 50%;
	background: url(img/icon.png) no-repeat;
	background-size: 100% auto;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.btn{
	width: 90%;
	height: 2rem;
	line-height: 2rem;
	color: white;
	background: #fd415a;
	border-radius: 5px;
	-moz-box-shadow:0px 0.1rem 0.25rem #c4c6c5; 
	-webkit-box-shadow:0px 0.1rem 0.25rem #c4c6c5; 
	box-shadow:0px 0.1rem 0.25rem #c4c6c5;
	font-size: 0.7rem;
	letter-spacing: 0.05rem;
	text-align: center;
	margin: 0.5rem auto;
}


.bounceIn{
	-webkit-animation: bounceIn 1s linear forwards;
	animation: bounceIn 1s linear forwards;
}
@-webkit-keyframes bounceIn {
	0%,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
		animation-timing-function: cubic-bezier(.215, .61, .355, 1)
	}
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3)
	}
	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1)
	}
	40% {
		-webkit-transform: scale3d(.9, .9, .9);
		transform: scale3d(.9, .9, .9)
	}
	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03)
	}
	80% {
		-webkit-transform: scale3d(.97, .97, .97);
		transform: scale3d(.97, .97, .97)
	}
	to {
		opacity: 1;
		-webkit-transform: scaleX(1);
		transform: scaleX(1)
	}
}
@keyframes bounceIn {
	0%,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
		animation-timing-function: cubic-bezier(.215, .61, .355, 1)
	}
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3)
	}
	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1)
	}
	40% {
		-webkit-transform: scale3d(.9, .9, .9);
		transform: scale3d(.9, .9, .9)
	}
	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03)
	}
	80% {
		-webkit-transform: scale3d(.97, .97, .97);
		transform: scale3d(.97, .97, .97)
	}
	to {
		opacity: 1;
		-webkit-transform: scaleX(1);
		transform: scaleX(1)
	}
}

/*抽奖弹框*/
.page_modal{
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	/*background: rgba(0,0,0,0.06);*/
	text-align: center;
	z-index: 2;
}
.page_modal_chou{
	background: rgba(0,0,0,0.8);
}
.page_modal_chou_cont{
	width: 90%;
	position: relative;
}
.box_open{
	width: 14.4rem;
	height: 14.7rem;
	background: url(img/box_open.png) no-repeat;
	background-size:100% 100%;
}
.page_modal_chou_cont .p_pic{
	width: 46%;
    position: absolute;
    top: 20%;
    left: 27%;
}
.btn_chou_use{
	color: white;
	font-size: 0.8rem;
	background: #2478de;
	height: 2rem;
	line-height: 2rem;
	width: 6.75rem;
	border-radius: 5px;
	margin: 0 auto;
}

/*活动说明*/
@-webkit-keyframes bounceOutDown {
	20% {
		-webkit-transform: translate3d(0, 0.5rem, 0) scale(1);
		transform: translate3d(0, 0.5rem, 0) scale(1)
	}
	40%,45% {
		opacity: 1;
		-webkit-transform: translate3d(0, -1.5rem, 0) scale(.8);
		transform: translate3d(0, -1.5rem, 0) scale(.8)
	}
	100% {
		opacity: 0;
		-webkit-transform: translate3d(0, 100rem, 0) scale(.3);
		transform: translate3d(0, 100rem, 0) scale(.3)
	}
}
@keyframes bounceOutDown {
	20% {
		-webkit-transform: translate3d(0, 0.5rem, 0) scale(1);
		transform: translate3d(0, 0.5rem, 0) scale(1)
	}
	40%,45% {
		opacity: 1;
		-webkit-transform: translate3d(0, -1.5rem, 0) scale(.8);
		transform: translate3d(0, -1.5rem, 0) scale(.8)
	}
	100% {
		opacity: 0;
		-webkit-transform: translate3d(0, 100rem, 0) scale(.3);
		transform: translate3d(0, 100rem, 0) scale(.3)
	}
}
@-webkit-keyframes bounceIn {
	0%,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
		animation-timing-function: cubic-bezier(.215, .61, .355, 1)
	}
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3)
	}
	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1)
	}
	40% {
		-webkit-transform: scale3d(.9, .9, .9);
		transform: scale3d(.9, .9, .9)
	}
	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03)
	}
	/*80% {
	-webkit-transform: scale3d(.97, .97, .97);
	transform: scale3d(.97, .97, .97)
}*/
	to {
		opacity: 1;
		-webkit-transform: scaleX(1);
		transform: scaleX(1)
	}
}
@keyframes bounceIn {
	0%,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
		animation-timing-function: cubic-bezier(.215, .61, .355, 1)
	}
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3)
	}
	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1)
	}
	40% {
		-webkit-transform: scale3d(.9, .9, .9);
		transform: scale3d(.9, .9, .9)
	}
	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03)
	}
	/*80% {
	-webkit-transform: scale3d(.97, .97, .97);
	transform: scale3d(.97, .97, .97)
}*/
	to {
		opacity: 1;
		-webkit-transform: scaleX(1);
		transform: scaleX(1)
	}
}
.rule_mask{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 2;
	overflow-x: hidden;
	text-align: left;
}
.rule_box{
	width: 90%;
	background: #FCFFF4;
	z-index: 1;
	margin: 0 auto;
	margin-top: 20%;
	border-radius: 10px;
	padding-bottom: 0.05rem;
}
.rule_header{
	height: 2.100rem;
	line-height:2.100rem;
	text-align: center;
	background: #0E78C2;
	color: white;
	font-size: 0.800rem;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: bold;
	border-bottom: 1px solid #fff;
}
.rule_content{
    max-height: 16.000rem;
    overflow-y: scroll;
    color: #787878;
    font-size: 0.750rem;
    padding: 0.25rem;
    padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
    text-align: left;
}
.rule_content li{
	list-style: inherit;
}
.rule_close{
	height: 1.500rem;
	line-height: 1.500rem;
	width: 40%;
	margin: 0.5rem auto;
    border: 2px solid #0E78C2;
    border-radius: 5px;
    text-align: center;
    color: #0E78C2;
	font-size: 0.8rem
}
.in{
	-webkit-animation:bounceIn 1s ease 1;
	animation:bounceIn 1s ease 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.out{
	-webkit-animation:bounceOutDown 1s ease 1;
	animation:bounceOutDown 1s ease 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/*qr*/
.page_qr{
	position: fixed;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	background: rgba(0,0,0,0.8);
	z-index: 3;
}
.page_qr_cont{
	width: 13.500rem;
	position: relative;
}
.qr_bg{
	background: url(img/qr.png) no-repeat;
	background-size:100% auto;
	width: 84%;
	height: 9.75rem;
	margin: 0 auto;
	position: relative;
}
.qr_pic{
    position: absolute;
    left: 10%;
    top: 30%;
    width: 37%;
	border-radius: 5px;
}
.qr_tip{
	position: absolute;
	top: 6%;
	width: 100%;
	left: 0;
	font-size: 0.7rem;
	color: white;
	text-align: center;
}
@-webkit-keyframes dialogTop {
    from { -webkit-transform:translate(0,5rem) scale(0.5); opacity:0;}
    to{opacity: 1;}
}
@keyframes dialogTop {
    from { transform:translate(0,5rem) scale(0.5); opacity:0;}
    to{opacity: 1;}
}
.dialogTop{
	-webkit-animation: dialogTop 0.6s ease both 1;
     animation: dialogTop 0.6s ease both 1;
}
.dialogOut{
	-webkit-animation: dialogOut 0.6s ease both 1;
     animation: dialogOut 0.6s ease both 1;
}
@-webkit-keyframes dialogOut {
    from {opacity: 1;}
    to{ -webkit-transform:translate(0,5rem) scale(0.5); opacity:0;}
}
@keyframes dialogOut {
    from {opacity: 1;}
    to{ transform:translate(0,5rem) scale(0.5); opacity:0;}
}


/*海报*/
.page_poster{
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.95);
	padding-top: 5%;
	z-index: 7;
}
.page_poster .poster{
	width: 72%;
	margin: 0 auto;
	border-radius: 5px;
}
.poster_tip{
	color: white;
	text-align: center;
	font-size: 0.6rem;
	margin-top: 0.5rem;
	position: relative;
}
.poster_tip span{
	position: absolute;
	left: 22%;
	font-size: 0.75rem;
}
.poster_tip p{
	position: absolute;
	right: 26%;
	top: -0.25rem;
	font-size: 0.5rem;
	text-align: left;
}
.poster_tip .up{
	width: 0.7rem;
	position: absolute;
	left: 2.5rem;
	top: -0.4rem;
	height: 1.2rem;
	background: url(img/up.png) no-repeat;
	background-size:100% 100%;
}
.poster_name{
    width: 5rem;
    height: 1rem;
    line-height: 1rem;
    margin: 0 auto;
    color: white;
    background: #d04558;
    border-radius: 20px;
    font-size: 0.5rem;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: bold;
}

@-webkit-keyframes up_d{
	0%{
		-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);
	}
	50%{
		-webkit-transform: translate3d(0,0.1rem,0);transform: translate3d(0,0.1rem,0);
	}
	100%{
		-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);
	}
}